﻿//-----------------------------------------------------------------------
// <copyright file="SA1106.cs" company="AXA">
//     Copyright (c) AXA. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace c0x3y.StyleCopFixer.Errors
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using EnvDTE80;
    
    public static class SA1106
    {
        public static void Run(EnvDTE.DTE environment, ErrorItem selectedError)
        {
            selectedError.Navigate();
            ErrorUtilities.RegExUpdate(@"(?<=\})\s*;", string.Empty, selectedError, environment);   
        }        
    }
}
